import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { ModalModule, TabsModule } from 'ngx-bootstrap';
import { AppCommonModule } from '@app/shared/common/app-common.module';
import { UtilsModule } from '@shared/utils/utils.module';
import { MaterialRoutingModule } from '@app/material/material-routing.module';
import { TableModule } from 'primeng/table';
import {
  MultiSelectModule,
  PaginatorModule,
  InputTextModule,
  DropdownModule,
  CalendarModule,
  StepsModule
} from 'primeng/primeng';
import { MaterialIntoComponent } from './into/into.component';
import { MaterialBookLogComponent } from './book/book-log.component';
import { MaterialLocationComponent } from './location/location.component';
import { CreateOrEditLocationModalComponent } from './location/create-or-edit-location-modal.component';
import { MaterialIndexComponent } from './index/index.component';
import { EditMaterialModalComponent } from './index/edit-material-modal.component';
import { LogMaterialModalComponent } from './index/log-material-modal.component';
import { CreateOrEditWlModalComponent } from './into/create-or-edit-wl-modal.component';
import { AdjustIntoModalComponent } from './index/adjust-into-modal.component';
import { AdjustOutModalComponent } from './index/adjust-out-modal.component';
import { MaterialLogComponent } from './log/log.component';
import { CostsComponent } from './cost/cost.component';
import { PutIntoModalComponent } from './into/put-into-modal.component';
import { ReturnWLModalComponent } from './index/return-wl-modal.component';
import { UpdateMaterialPositionModalComponent } from './index/update-material-position-modal.component';

@NgModule({
  imports: [
    CommonModule,
    FormsModule,
    ModalModule.forRoot(),
    TabsModule.forRoot(),
    AppCommonModule,
    UtilsModule,
    MaterialRoutingModule,
    TableModule,
    MultiSelectModule,
    PaginatorModule,
    InputTextModule,
    DropdownModule,
    CalendarModule,
    StepsModule
  ],
  declarations: [
    MaterialIntoComponent,
    PutIntoModalComponent,
    MaterialBookLogComponent,
    MaterialLogComponent,
    MaterialLocationComponent,
    CreateOrEditLocationModalComponent,
    MaterialIndexComponent,
    EditMaterialModalComponent,
    LogMaterialModalComponent,
    CreateOrEditWlModalComponent,
    AdjustIntoModalComponent,
    AdjustOutModalComponent,
    ReturnWLModalComponent,
    CostsComponent,
    UpdateMaterialPositionModalComponent
  ]
})
export class MaterialModule {}
